﻿html { width: 100%; height: 100%; overflow: hidden; }
body { width: 100%; height: 100%; overflow: hidden; margin: 0; position: relative; background: black; font-size: 12px; -moz-user-select: none; -ms-user-select: none; -webkit-user-select: none; }

#background { width: 100%; height: 100%; position: absolute; left: 0; top: 0; opacity: 0; background: center center repeat; z-index: -1; }
#background img { width: 100%; height: 100%; }

#launcher { position: absolute; z-index: 2; background-color: rgba(143,182,186,.3); border: 1px solid rgb(143,182,186); }
#launcher.dragover { outline: 1px dashed red; }
#launcher.left { top: 50%; left: 0; margin-top: -200px; width: 80px; height: 400px; }
#launcher.right { top: 50%; right: 0; margin-top: -200px; width: 80px; height: 400px; }
#launcher.top { left: 50%; margin-left: -300px; width: 600px; height: 100px; }

#screensPanel { position: absolute; z-index:2; }
#screensPanel.left { top: 60px; right:0; bottom: 0; left: 130px; }
#screensPanel.right { top: 60px; right:130px; bottom: 0; left: 0; }
#screensPanel.top { top: 130px; right:0; bottom: 0; left: 0; }

#screens { position:relative; width:100%;height:100%; }

.appicon { width: 60px; text-align: center; margin: 10px 0 0 10px; text-decoration: none; float: left; overflow: hidden; cursor: pointer; }
.appicon:hover, .appicon.hover { outline: 1px dotted silver; background-color: rgba(23,23,23,0.2); }
.appicon img { border: none; width: 48px; height: 48px; margin: 6px 6px 3px; }
.appicon span { display: block; color: white; padding-bottom: 3px; white-space: nowrap; }
.appicon.dragover { outline: 1px dashed red; }
.appicon.editing {  }
.appicon.editing span { padding-bottom: 0; }
.appicon.editing span input { width: 100%; border: none; height: 15px; padding: 1px 0; text-align: center; background: white; color: black; font-size: 12px; }

.folder { opacity: 0; position: absolute; z-index: 9999; background-color: rgba(124, 181, 224, 0.50); margin-bottom: 10px; padding: 0 10px 10px 0; }
.folder .appicon { width: 77px; }

#launcher .appicon span { display: none; }

.screen { width: 100%; height: 100%; position: relative; top: 0; left: 0; display: none; }
.screen .appicon { width: 77px; position: absolute; margin: 0; }
.taskbar { height: 48px; width: 100%; position: absolute; z-index: 10000; bottom: 0; }
.screen.dragover { outline: 1px dashed red; }

#switcher { position: absolute; top: 10px; left: 50%; z-index: 2; }
#switcher div { list-style: none; margin: 0; padding: 1px; position: relative; top: 0; left: -50%; overflow: hidden; float:left; }
#switcher div span { float: left; width: 16px; height: 16px; border-radius:8px; background-color: gray; margin: 0 4px; text-indent: -999em; }
#switcher div span:hover { cursor: pointer; }
#switcher div span.current { background-color: red; }
#switcher a { float: left; }

.window { position: absolute; left: 0; top: 0; width: 600px; height: 400px; outline: 1px dotted silver; background: #feffe1; }
.window h4.tbar { margin: 0; height: 24px; line-height: 24px; text-align: center; outline: 1px dotted silver; }
.window h4.tbar span.tools { float: left; }
.window h4.tbar span.control { float: right; }
.window h4.tbar span.control b { width: 20px; height: 20px; float: left; margin: 0 0 0 0; background: url(pngs/sprite.png) top right; }
.window h4.tbar span.control b.close { background-position: -64px -58px; }
.window h4.tbar span.control b.close:hover { background-position-y: -28px; }
.window h4.tbar span.control b.maximize { background-position: -35px -56px; }
.window h4.tbar span.control b.maximize:hover { background-position-y: -26px; }
.window h4.tbar span.control b.restore { background-position: -95px -58px; display: none; }
.window h4.tbar span.control b.restore:hover { background-position-y: -28px; }
.window h4.tbar span.control b.minimize { background-position: -6px -54px; }
.window h4.tbar span.control b.minimize:hover { background-position-y: -25px; }
.window.active { outline-color: red; }
.window.active h4.tbar { outline-color: red; }
.window.active h4.tbar label { color: red; }
.window > .body { position: absolute; top: 24px; right: 0; bottom: 0; left: 0; -moz-user-select: text; -ms-user-select: text; -webkit-user-select: text; }
/*#region Resizer*/
.resize { position: absolute; }
.resize.e { right: -3px; top: 0; height: 100%; width: 5px; cursor: e-resize; }
.resize.w { left: -3px; top: 0; height: 100%; width: 5px; cursor: e-resize; }
.resize.s { left: 0; bottom: -3px; height: 5px; width: 100%; cursor: s-resize; }
.resize.n { left: 0; top: -3px; height: 5px; width: 100%; cursor: s-resize; }
.resize.nw { left: -3px; top: -3px; height: 5px; width: 5px; cursor: nw-resize; }
.resize.ne { right: -3px; top: -3px; height: 5px; width: 5px; cursor: ne-resize; }
.resize.se { right: -3px; bottom: -3px; height: 5px; width: 5px; cursor: se-resize; }
.resize.sw { left: -3px; bottom: -3px; height: 5px; width: 5px; cursor: sw-resize; }
/*#endregion*/
.winani { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color:silver; z-index:9999; opacity: 0.2; }

.tbbutton { float: left; width: 100px; height: 48px; padding: 8px; color: white; }
.tbbutton img { width: 32px; height: 32px; float: left; }
.tbbutton label { margin-left: 4px;; }
.tbbutton:hover, .tbbutton.hover { background-color: rgba(116,133,116,0.3); }
.tbbutton.active { background-color: rgba(221,226,158,0.40) !important; }

.tip { background-color: rgba(255,255,224,.7); position: absolute; left: 200px; top: 5px; padding: 5px; cursor: pointer; }
